<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript">
            $(document).ready(function()
            {
                $("#test").load('prijavljivanje.php');
                $("#pocni_anketu").click(function()
                    {
                        $("#test").load("anketa.php?pol=M&starost=A&svrha=registracija");
                    }
                );
                
            });
        </script>
    </head>
    <body>
        index.html
        <?php
        session_start();
        //unset($_SESSION['tipovi']);
        //unset($_SESSION['pitanje_broj']);
        if(!isset($_GET['tip']))
        {
            $_SESSION['tip']='N';
            $_SESSION['id']='1';
        }
        
        include ("upisi_url.php");
       // ?>
        <input type="button" id="pocni_anketu" value="Anketa" />
        <div id="test">
        </div>
    </body>
</html>

